Skip to content
QtWS25 Last Chance
  • 0 Votes
    2 Posts
    255 Views
    J
    I've worked around the problem, by directly including the windows headers. Sadly i still have no good explanation for why this wasn't required in 6.5.3, and is required in 6.8.2
  • Error including tesseract Windows 10

    Unsolved General and Desktop tesseract c++ include path headerfile
    4
    0 Votes
    4 Posts
    1k Views
    jsulmJ
    @MEsc said in Error including tesseract Windows 10: ./configure -> does not work Yes, because you're on Windows. Maybe https://tesseract-ocr.github.io/tessdoc/Compiling.html#windows can help.
  • 0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, Did you just clone the curl sources ? If so the you have to build it before you can use it.
  • Yocto SDK standard headers issue

    Unsolved Mobile and Embedded yocto include path qtcreator
    2
    0 Votes
    2 Posts
    624 Views
    S
    This is the output when I build from command line with qmake/make : root@debian:~# echo $QMAKESPEC root@debian:~# source /opt/qtsdk-Guinault-2020.03/environment-setup-armv7at2hf-neon-linux-gnueabi root@debian:~# echo $QMAKESPEC /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/mkspecs/linux-oe-g++ root@debian:~# mkdir hellowolrd_qt root@debian:~# cd hellowolrd_qt/ root@debian:~/hellowolrd_qt# nano helloworld.cpp root@debian:~/hellowolrd_qt# nano helloworld.pro root@debian:~/hellowolrd_qt# qmake helloworld.pro Info: creating stash file /root/hellowolrd_qt/.qmake.stash root@debian:~/hellowolrd_qt# make arm-linux-gnueabihf-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi -c -pipe -isystem/home/guinault/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtGui -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtCore -I. -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/mkspecs/linux-oe-g++ -o helloworld.o helloworld.cpp In file included from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtGui/qtguiglobal.h:43, from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/qtwidgetsglobal.h:43, from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/qapplication.h:43, from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/QApplication:1, from helloworld.cpp:1: /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtCore/qglobal.h:45:12: fatal error: type_traits: No such file or directory # include <type_traits> ^~~~~~~~~~~~~ compilation terminated. Makefile:547: recipe for target 'helloworld.o' failed make: *** [helloworld.o] Error 1 root@debian:~/hellowolrd_qt# And this is CXX and CXXFLAGS : root@debian:~/hellowolrd_qt# . /opt/qtsdk-Guinault-2020.03/environment-setup-armv7at2hf-neon-linux-gnueabi root@debian:~/hellowolrd_qt# echo $CXX arm-linux-gnueabihf-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi root@debian:~/hellowolrd_qt# echo $CXXFLAGS -isystem/home/guinault/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types Anyone can help me please ? Thank you Sébastien
  • 0 Votes
    9 Posts
    3k Views
    A
    @MjrWilson Wow! Typical Visual Studio. One of the many reasons I try to avoid MSVC as a compiler. I've had similar issues at work lately, installing an older win api completely ruined 3 versions of visual studio to the point of reinstalling and having to manually clean the registry. Go Microsoft! Oh well as a MSFT stock owner at least other people like them even if I don't. ;) Glad you got it fixed. :)